package com.jack.uikit.expand

import androidx.appcompat.app.AppCompatActivity
import com.jack.uikit.dialog.DialogBuilder

/**
 * Activity扩展
 *
 * @author Jack 2021-05-01 19:03
 */

fun showDialog(activity: AppCompatActivity, builder: DialogBuilder.() -> Unit) {
    DialogBuilder(activity).also(builder).build().show()
}